package calendar;


/**
 * 懒汉式
 * @author fqcd
 *
 * 2018年5月30日上午10:13:31
 */
public class Singleton1 {
	
	private Singleton1(){
		
	}
	
	private static Singleton1 s = null;
	
	public synchronized Singleton1 getInstance(){
		if(s==null){
			s = new Singleton1();
		}
		
		return s;
	}
	

}
